package com.diandi.ddsb.bean;

import java.io.Serializable;

/**
 * @author luyujian
 */
public class Result<T> implements Serializable {
	/**
	 * 操作code
	 */
	private int code;
	/**
	 * 返回提示信息
	 */
	private String msg;
	/**
	 * 返回实体，可包含各种信息
	 */
	private T obj;

	public Result() {
		super();

	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public T getObj() {
		return obj;
	}

	public void setObj(T t) {
		this.obj = t;
	}

}
